//
//  FCAirPlayerView.h
//  AirplayTest
//
//  Created by mac on 2020/11/27.
//  Copyright © 2020 Deng. All rights reserved.
//

#import <UIKit/UIKit.h>

#import <AVFoundation/AVFoundation.h>
NS_ASSUME_NONNULL_BEGIN


@interface FCAirPlayerView : UIView

+ (instancetype)LoadXIB ;

@property(nonatomic) CGRect  xibFrame;

/** 关闭   x  结束之前播放时间 */
@property(nonatomic,copy)void (^closeBlock) (void);
/// 成功连接回调
@property(nonatomic,copy)void (^successBlock) (void);
 
//可控制airplayer
@property (nonatomic,strong) AVPlayer  * avPlayer;

@property (nonatomic, assign) BOOL isLive;

@end


//typedef void(^selectNameBlock)(NSString * _Nonnull name);

 
NS_ASSUME_NONNULL_END
